Skip to content

DEVREL-2690: Fix auto-run#23

Open
tim-webflow wants to merge 5 commits intomainfrom
DEVREL-2690-fix-auto-run
Open

DEVREL-2690: Fix auto-run#23
tim-webflow wants to merge 5 commits intomainfrom
DEVREL-2690-fix-auto-run

Conversation

@tim-webflow
Copy link
Collaborator

@tim-webflow tim-webflow commented Mar 19, 2026

Problems:

  • When I select an example it runs automatically instead of waiting for me to do something. This is a problem because many of them require you to select something before running it
  • When I run an example that writes to the console, that goes to the browser console instead of the output field on the explorer
  • The app does not remember what example was selected when you switch pages

This PR:

  • Adds a "Run" button and does not run the example immediately on load
  • Prints output to the output field as well as the browser console
  • Moves info about the selected example up in the scope to be able to remember it
Screenshot 2026-03-19 at 1 24 55 PM Screenshot 2026-03-19 at 1 25 08 PM

To test:

  1. Load this branch and run npm i
  2. Run npm run dev
  3. Open a page in the Webflow editor
  4. Press E, click the "Designer API Playground" App, and then click "Launch Development App"
  5. Try out the behavior of the API Explorer page and run some examples. See that the behavior and output in the console is what you expect.

@tim-webflow tim-webflow self-assigned this Mar 19, 2026
Copy link

@cfjedimaster cfjedimaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested and this looks great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants